
package framework.customer;


import java.util.Map;

public class CompanyCustomer extends ACustomer implements IOrganization {

    public CompanyCustomer(Map<String, String> data) {
        super(data.get("name"), data.get("street"), data.get("city"), data.get("zip"), data.get("email"), data.get("state"));
        this.noOfEmployees = Integer.valueOf(data.get("numOfEmp"));
    }

    public CompanyCustomer(String name, String street, String city, String zip,
                           String email, String state, int employeeCount) {
        super(name, street, city, zip, email, state);
        this.noOfEmployees = employeeCount;
    }

    private int noOfEmployees;


    public Type getType() {
        return Type.COMPANY;
    }

}
